package com.lhb.order.service;

import com.lhb.order.model.Order;

import java.io.IOException;
import java.util.List;

public interface OrderService {

    void addOrder(Order order);

    List<Order> getAllOrder();

    List<Order> getPaid();

    List<Order> getUnpaid();

    void deleteOrder(Long id);

    void modifyOrder(Long id, Long flightId) throws IOException;
}
